<?php

$pro = strtolower(substr($_SERVER['SERVER_PROTOCOL'], 0, 4));
$domain = $_SERVER['SERVER_NAME'];

define('SITEURL', $pro.'://'.$domain.'/');

define('APP_DEBUG', true);

define('APP_PATH', './');

$path = '../../libs/ThinkPHP/ThinkPHP.php';

$path = realpath($path);

require $path;